package com.hycas.struct;
//输出1~1000之间能被5整除的数 whil、if
//参看Demo04
public class Demo06 {
    public static void main(String[] args) {
        int i = 1;
        while (i<=1000){
            i++;
            if(i%5==0){
                System.out.print("\t"+i);
            }
            if(i%(5*3)==0){
                System.out.println();
            }
        }


    }
}
